package com.ty.service.admin.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @描述:
 * @Author: TangYuan
 * @Date: 2025/8/11 14:15
 */
@RequestMapping("/api")
@RestController
public class TestController {

    @GetMapping("/123/{id}")
    public String test(@PathVariable String id) {
        System.out.println(id);
        return id;
    }

}
